<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<%@ taglib uri="/struts-tags" prefix="s" %>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Generar Orden de Mantenimiento</title>
<link rel="stylesheet" href="css/plantilla_styles.css" type="text/css" media="screen">
<!--link rel="stylesheet" href="css/form.css" type="text/css" media="screen"-->
</head>

<body>
 
<s:form action="generarOrden" theme="simple">
  <table width="339" border="0" align="center">

    <tbody><tr>
      <!--  <td width="120"><s:property value="%{getText('frmGenerarOM.Orden.fecha')}"/></td>
	  <td width="209"><s:textfield name="orden.fecha" id="txt_fecha"/></td>
    -->
    </tr><tr>
      <td width="120"><s:property value="%{getText('frmGenerarOM.Orden.tipo')}"/></td>
	  <td width="209"><s:radio name="orden.tipo" list="#{'C':'Correctivo','P':'Preventivo'}"/></td>
    </tr>
    </tbody></table>
    <br>
	<fieldset>
    <legend><span class="tit"><s:property value="%{getText('frmGenerarOM.Maquina.Titulo')}"/></span></legend>
    <table width="449" border="0" align="center">
      <tbody><tr>
        <td width="128"></td>
        <td width="210">&nbsp;</td>
        <td width="97">&nbsp;</td>
        </tr>
      <tr>
        <td><s:property value="%{getText('frmGenerarOM.Maquina.codigo')}"/></td>
        <td><s:textfield name="orden.maquina.codigo"/></td>
        <td><input name="btn_cliente" type="button" class="btn-solicitar" id="btn_cliente" value="<s:property value="%{getText('frmGenerarInformeDesempeno.Informe.herramienta.btnbmaquina')}"/>"></td>
        </tr>
      <tr>
        <td><s:property value="%{getText('frmGenerarOM.Maquina.nombre')}"/></td>
		<td><s:textfield name="orden.maquina.nombre"/></td>
        <td>&nbsp;</td>
        </tr>
      <tr>
        <td><s:property value="%{getText('frmGenerarOM.Maquina.lugar')}"/></td>
		<td><s:textfield name="orden.maquina.lugar"/></td>
        <td>&nbsp;</td>
        </tr>
		<tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        </tr>
    </tbody></table>
  </fieldset>
  <br>
  <fieldset>
    <legend><span class="tit"><s:property value="%{getText('frmGenerarOM.Tecnico.Titulo')}"/></span></legend>
    <table width="458" border="0" align="center">
      <tbody><tr>
        <td width="128"></td>
        <td width="210">&nbsp;</td>
        <td width="106">&nbsp;</td>
        </tr>
      <tr>
        <td><s:property value="%{getText('frmGenerarOM.Tecnico.codigo')}"/></td>
        <td><s:textfield name="orden.tecnico.codigo"/></td>
        <td><input name="btn_cliente" type="button" class="btn-solicitar" id="btn_cliente" value="<s:property value="%{getText('frm.btnbtecnico')}"/>"></td>
        </tr>
      <tr>
        <td><s:property value="%{getText('frmGenerarOM.Tecnico.nombre')}"/></td>
        <td><s:textfield name="orden.tecnico.nombre"/></td>
        <td>&nbsp;</td>
        </tr>
      <tr>
        <td><s:property value="%{getText('frmGenerarOM.Tecnico.tipo')}"/></td>
        <td><s:textfield name="orden.tecnico.tipo"/></td>
        <td>&nbsp;</td>
        </tr>
		<tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        </tr>
		<tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        </tr>
    </tbody></table>
  </fieldset>
  
  <br>
  <table width="353" border="0" align="center">
      <tbody><tr>
        <td width="128"></td>
        <td width="210">&nbsp;</td>
        <td width="1">&nbsp;</td>
        </tr>
      <tr>
        <td><s:property value="%{getText('frmGenerarOM.Orden.descripcion')}"/></td>
        <td colspan="2"><s:textarea name="orden.descripcion"/></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td colspan="2">&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td colspan="2">&nbsp;</td>
      </tr>
    </tbody></table>
  <br>
  <table width="700" border="0" align="center">
    <tbody><tr>
      <td colspan="2" align="center">&nbsp;</td>
		<td width="531">&nbsp;</td>
      <td width="135"><a href="portada.html"></a> <a href="portada.html">
        <s:submit value="%{getText('frmGenerarOM.Informe.submit')}"class="btn-solicitar"/>
      </a></td>
    </tr>
</tbody></table>
<s:property value="mensaje"/>
</s:form>
</body>
</html>
